import {WeaTools} from 'ecCom'

export const getKnowledgeDetail = params => {   //根绝knowledgeId 获取页面信息
    return WeaTools.callApi('/api/knowledge/knowledge/getKnowledgeDetail','GET', params);
}

export const operateKnowledge = params => {   //根绝knowledgeId 获取页面信息
    return WeaTools.callApi('/api/knowledge/knowledge/operateKnowledge','POST', params);
}

export const getKnowledgeList = params => {   //获取知识列表
    return WeaTools.callApi('/api/knowledge/knowledge/getKnowledgeList','GET', params);
}
